package com.cjw.pojo.dto.soulread;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author : cjw
 * @date: : 2022/1/25 9:28
 * @description : 朗读排行榜 DTO
 */
@Data
@ApiModel("详细个人朗读作品DTO")
public class RecommendReadDTO {
    @ApiModelProperty("朗读ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long readId;

    @ApiModelProperty("热度")
    private Integer heat;

    @ApiModelProperty("发布时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date punishTime;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("作者")
    private String userName;

    @ApiModelProperty("评论数")
    private Integer commentNumber;

    @ApiModelProperty("点赞数")
    private Integer loveNumber;
}
